package ess.hardware;

public class ElevatorOperationEvent {

	public static int TYPE_SELECT_FLOOR = 1;
	public static int TYPE_OPEN_CLOSE = 2;
	
	public static int VALUE_OPEN = 1;
	public static int VALUE_CLOSE = 2;

	int type; 
	int value;
	Elevator e;
	
	public ElevatorOperationEvent(Elevator e, int type, int value)
	{
		this.e = e;
		this.value = value;
		this.type = type;
	}
	
	public Elevator getElevator()
	{
		return e;
	}
	
	public int getType()
	{
		return type;
	}
	
	public int getValue()
	{
		return value;
	}
}
